/*
 * ---------------------------------------------------------------------
 * Copyright (c) 2014, 2015 All Right Reserved
 * This software is developed for study and improve coding skill ...
 *
 * Project:  Excellent Coding< EC >
 *
 * ecMsgProcI.h
 * This file for EC thread message processor interface define.
 *
 * Eamil:   epengao@126.com
 * Author:  Peter Gao
 * Version: Intial first version.
 * --------------------------------------------------------------------
 */

#ifndef EC_MSG_PROC_I_H
#define EC_MSG_PROC_I_H

#include "ecBaseType.h"
#include "ecMessageI.h"

namespace ec {

class ecMsgProcI
{
public:
    virtual void ClearMsg() = 0;
    virtual ecMessage* GetMsg() = 0;
    virtual EC_U32 PostMsg(ecMessage* pMsg) = 0;
};

} /* namespace ec */
#endif /* EC_MSG_PROC_I_H */